package com.fowo.api.controller.purchase.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.entity.WarehouseBinProducts;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@Schema(title = "仓位 列表项")
public class WarehouseBinreportFormsDVo {

    private Long id;
    private Long warehouseId;
    private Long productId;
    @Schema(title = "仓位")
    private String storageBin;

    @Schema(title = "仓位id")
    private String storageId;

    /**
     * 关联所属仓库的仓库名称
     */
    @Schema(title = "关联所属仓库的仓库名称")
    private String WarehouseName;
    /**
     * 编号
     */
    @Schema(title = "仓库类型")
    private String stateName;
    /**
     * 仓库id
     */
    @TableField(value = "`pic_url`", typeHandler = JacksonTypeHandler.class)
    @Schema(title = "图片")
    private List<SysFile> picUrl;
    /**
     * 关联仓库id的仓库名称
     */
    @Schema(title = "商品名称")
    private String productName;

    private String sku;
    @Schema(title = "shopId")
    private Long shopId;
    @Schema(title = "shopName")
    private String shopName;
    @Schema(title = "fnSku")
    private Long fnSku;
    @Schema(title = "fnSkuName")
    private String fnSkuName;
    @Schema(title = "stockQty")
    private Long stockQty;
    @Schema(title = "type")
    private Long type;
    @Schema(title = "type")
    private String  typeName;

    @Schema(title = "lockQty")
    private Long lockQty;


}
